import { IsNotEmpty } from "class-validator";

export class FriendAddDto {

    @IsNotEmpty({
        message: '添加好友的username不能为空'
    })
    username: string;

    reason: string; // 申请理由不需要校验
}